package user;

import book.BookList;
import operation.Operation;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: YKH
 * Date: 2022-04-14
 * Time: 14:04
 */
public abstract class User {
    String name;
    Operation []dooperation;

    public abstract int menu();

    public void Dooperation(int choice, BookList booklist) {
        dooperation[choice].work(booklist);
    }


}
